package cn.tedu.blackhorse.service;

import cn.tedu.blackhorse.pojo.dto.StudentAddNewDTO;
import cn.tedu.blackhorse.pojo.dto.StudentUpdateDTO;
import cn.tedu.blackhorse.pojo.dto.TeacherAddNewDTO;
import cn.tedu.blackhorse.pojo.dto.TeacherUpdateDTO;
import cn.tedu.blackhorse.pojo.vo.StudentListItemVO;
import cn.tedu.blackhorse.pojo.vo.TeacherListItemVO;
import cn.tedu.blackhorse.pojo.vo.TeacherStandardVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 品牌业务接口
 *
 * @author java@tedu.cn
 * @version 0.0.1
 */
@Transactional
public interface ITeacherService {

    void addNew(TeacherAddNewDTO teacherAddNewDTO);


   void deleteById(Long id);


    void updateById(Long id, TeacherUpdateDTO teacherUpdateDTO);


    List<TeacherListItemVO> list();

    TeacherStandardVO getById(Long id);

}
